<template>
  <page-body>
    <view class="page">
     <view class="flex benben-position-layout flex flex-wrap align-center agreements_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub agreements_fd0_0'>
          <view class='flex flex-wrap align-center agreements_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  agreements_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='agreements_fd0_0_c1_c0'>用户协议</text>
          </view>
          <view class='flex flex-wrap align-center justify-end agreements_fd0_0_c0'>
          </view>
        </view>
      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center agreements_flex_1">
        <jyf-parser class='agreements_fd1_0' :html="massage.body | richTextFormat">
        </jyf-parser>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </page-body>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'

  export default {
    components: {},


    data() {
      return {
        "massage": {
          "aid": "",
          "title": "",
          "body": "",
          "create_time": ""
        }
      };
    },
    computed: {

    },
    watch: {},
    onLoad(options) {
      this.getmy36c78ae2216bFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //登录注册-系统页面
      async getmy36c78ae2216bFunc() {
        //请求方法
        //数据验证

        let datamassage = await this.$api.post(global.apiUrls.post636c78ae2216b, {
          aid: '1'
        });

        if (datamassage.data.code != 1) {
          this.$message.info(datamassage.data.msg);
          return
        }
        let infomassage = datamassage.data;
        this.massage = infomassage.data

      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #Fff;
    background-size: 100% auto;
  }

  .agreements_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .agreements_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333333;
    line-height: 50rpx;
  }

  .agreements_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .agreements_fd0_0_c0 {
    width: 120rpx;
  }

  .agreements_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .agreements_flex_1 {
    padding: 24rpx;
  }

  ::v-deep .agreements_fd1_0 {
    width: 100%;
  }
</style>
